<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./1.CSS">
    <title>Document</title>
    <style>
        .nav1,.nav2{
            /* 设置为弹性容器 */
            display: flex;
            /* 设置空白分布在弹性元素两侧 */
            justify-content: space-around;
        }
        .item img{
            width: 100%;
        }
        .item{
            width: 18%;
            /* flex-grow: auto; */
            /* 文字居中 */
            text-align: center;
            font-size: 15px;
            font-weight: bold;
            /* background-color: #bfa; */
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="nav1">
            <div class="item">
                <a href="#"><img src="./img1.png"></a>
                <span>天猫新品</span>
            </div>
            <div class="item">
                <a href="#"><img src="./img2.png"></a>
                <span>今日爆款</span>
            </div>
            <div class="item">
                <a href="#"><img src="./img3.png"></a>
                <span>天猫国际</span>
            </div>
            <div class="item">
                <a href="#"><img src="./img4.png"></a>
                <span>天猫超市</span>
            </div>
            <div class="item">
                <a href="#"><img src="./img5.png"></a>
                <span>充值中心</span>
            </div>
        </div>
        <div class="nav2">
            <div class="item">
                <a href="#"><img src="./img10.png"></a>
                <span>机票酒店</span>
            </div>
            <div class="item">
                <a href="#"><img src="./img11.png"></a>
                <span>金币庄园</span>
            </div>
            <div class="item">
                <a href="#"><img src="./img12.png"></a>
                <span>阿里拍卖</span>
            </div>
            <div class="item">
                <a href="#"><img src="./img13.png"></a>
                <span>淘宝吃货</span>
            </div>
            <div class="item">
                <a href="#"><img src="./img14.png"></a>
                <span>分类</span>
            </div>
        </div>
    </div>
</body>
</html>